﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Data.SqlClient;
using System.Data;
using transportsystem.DTO;
using transportsystem.DAO;
namespace transportsystem.BUS
{
    public class ChuyenBUS
    {
        public static DataTable layDanhSachChuyen()
        {
            return ChuyenDAO.layDanhSachChuyen();
        }
        public static bool capNhatChuyen(Chuyen chuyen1, Chuyen chuyen2)
        {
            return ChuyenDAO.capNhatChuyen(chuyen1, chuyen2);
        }
        public static bool xoaChuyen(Chuyen chuyen)
        {
            return ChuyenDAO.xoaChuyen(chuyen);
        }
    }
}
